users

CLI REST-API

root

The submenu root (root) contains the following:

Menus: none

Objects:
group (group)
description (description)
home-directory (home-directory)
password-encrypted (password-encrypted)
password-type (password-type)
login-shell (login-shell)

Commands:
set-password (sets a new password for this user account)



See also:
/users/[USER]/group
/users/[USER]/description
/users/[USER]/home-directory
/users/[USER]/password-encrypted
/users/[USER]/password-type
/users/[USER]/login-shell
/users/[USER]/set-password

REST-API Support:


This menu is supported by the REST API:

Method: GET
URL: /api/users/bob


Example using curl:
curl /api/users/bob


Method: PATCH
URL: /api/users/bob
Body:
{
  \"objects\": \"new-values\"
}

Example using curl:
curl -X PATCH /api/users/bob
-d "{
  \"objects\": \"new-values\"
}"


Method: DELETE
URL: /api/users/bob

Example using curl:
curl -X DELETE /api/users/bob